package com.codeanalysissys.backend.entity;


public enum Language implements LanguageEnum {
    CPP			("Cpp", ".cpp"),
    JAVASCRIPT	("JavaScript", ".js"),
    C			("C", ".c"),
    JAVA		("Java", ".java"),
    RUBY		("Ruby", ".rb"),
    PYTHON		("Python", ".py"),
    GOLANG      ("Golang",".go");

    Language(String str, String suffix) {
        name = str;
        this.suffix = suffix;
    }

    @Override
    public String toString() {
        return name;
    }

    private final String name;
    private final String suffix;

    @Override
    public String getName() {
        return name;
    }

    @Override
    public String getSuffix() {
        return suffix;
    }
}
